package com.zhb.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import com.zhb.responvo.ResponseInfo;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description:
 * @Author: zhb
 * @CreateTime: 2021/9/10
 * @Company: 众调
 */
@FeignClient(name = "product-service")
public interface ProductFeign {

    @RequestMapping("product/deduct")
    ResponseInfo deduct(@RequestParam("productCode") String productCode,@RequestParam("count") Integer count);
}
